<form action="{{ action('TravelersController@handleAdd') }}" method="post" role="form">
	<input type="hidden" name="type" value="{{ $type }}">
	
	<h3>Dados Pessoais</h3>
	<hr />

	<div class="form-group">
		<label for="title">Nome</label> 
		<input type="text" class="form-control" name="name" />
	</div>
	<div class="form-group">
		<label for="title">Data de Nascimento</label> 
		<input type="text" class="form-control" name="birthDate" />
	</div>
	<div class="form-group">
		<label for="title">Email</label> 
		<input type="text" class="form-control" name="email" />
	</div>
	<div class="form-group">
		<label for="title">Telefone</label> 
		<input type="text" class="form-control" name="phone" />
	</div>
	<div class="form-group">
		<label for="title">Celular</label> 
		<input type="text" class="form-control" name="mobilePhone" />
	</div>
	<div class="form-group">
		<label for="title">Sexo</label>
		<input type="text" class="form-control" name="gender" />
	</div>	
	<div class="form-group">
		<label for="title">CPF / RNE (Estrangeiro)</label> 
		<input type="text" class="form-control" name="cpf" />
	</div>	
	<div class="form-group">
		<label for="title">Passaporte</label> 
		<input type="text" class="form-control" name="passport" />
	</div>

	@if ( $type == 'Funcionario' )

	<h3>Dados Corporativos</h3>
	<hr />
		
	<div class="form-group">
		<label for="title">Martricula</label> 
		<input type="text" class="form-control" name="registration" />
	</div>
	<div class="form-group">
		<label for="title">Departamento</label> 
		<input type="text" class="form-control" name="department" />
	</div>
	<div class="form-group">
		<label for="title">Cargo</label> 
		<input type="text" class="form-control" name="responsibility" />
	</div>
	<div class="form-group">
		<label for="title">Regional</label> 
		<input type="text" class="form-control" name="regional" />
	</div>
	<div class="form-group">
		<label for="title">CentroCusto</label> 
		<input type="text" class="form-control" name="costCenter" />
	</div>

	@endif

	<h3>Dados do Solicitante</h3>
	<hr />
	
	<div class="form-group">
		<label for="title">Solicitante</label> 
		<input type="text" class="form-control" name="requestor" />
	</div>
	<div class="form-group">
		<label for="title">TelefoneSolicitante</label> 
		<input type="text" class="form-control" name="requestingPhone" />
	</div>
	<div class="form-group">
		<label for="title">EmailSolicitante</label> 
		<input type="text" class="form-control" name="requestingEmail" />
	</div>
	<input type="submit" value="Enviar" class="btn btn-primary" />
</form>

